package com.xishu.entity;

import com.xishu.annotation.dao.Search;

import javax.persistence.MappedSuperclass;
import javax.persistence.Transient;
import java.util.List;


/**
 * 跟shop相关的通用的属性
 */
@MappedSuperclass
public abstract class ShopItem extends AbstractEntity {


    private static final long serialVersionUID = 1599636380761807345L;

    @Transient
    @Search(in = true, fieldName = "shopId")
    public List<Long> shopIds;


    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public List<Long> getShopIds() {
        return shopIds;
    }

    public void setShopIds(List<Long> shopIds) {
        this.shopIds = shopIds;
    }
}
